using Core.Domain.Entities;
using FluentNHibernate.Mapping;

namespace DataMain.Mappings
{
  public class BallotEntryComputerMap : ClassMap<BallotEntryComputer>
  {
    public BallotEntryComputerMap()
    {
      Id(x => x.Id);
      Map(x => x.Code).WithLengthOf(5).Not.Nullable();
      Map(x => x.Description).WithLengthOf(50);
      References(x => x.UsedAtLocation);
    }
  }
}